package com.itheima.fuxichengxu;
import java.util.Scanner;

public class Scanner1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数值");
        int score = sc.nextInt();

        int ge = score % 10;
        int shi = score /10 % 10;
        int bai = score /100 % 10;
        System.out.println("此数值的个位数为：" + ge);
        System.out.println("此数值的十位数为：" + shi);
        System.out.println("此数值的百位数为：" + bai);
    }

}
